﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class defense

        Private dblDecreasePercent As Double
        Private dblIncreasePercent As Double
        Private intPlusDefense As Integer
        Private intRating As Integer
        Private dblValue As Double

        <XmlAttribute()> Public Property decreasePercent() As Double
            Get
                Return dblDecreasePercent
            End Get
            Set(ByVal value As Double)
                dblDecreasePercent = value
            End Set
        End Property

        <XmlAttribute()> Public Property increasePercent() As Double
            Get
                Return dblIncreasePercent
            End Get
            Set(ByVal value As Double)
                dblIncreasePercent = value
            End Set
        End Property

        <XmlAttribute()> Public Property plusDefense() As Integer
            Get
                Return intPlusDefense
            End Get
            Set(ByVal value As Integer)
                intPlusDefense = value
            End Set
        End Property

        <XmlAttribute()> Public Property rating() As Integer
            Get
                Return intRating
            End Get
            Set(ByVal value As Integer)
                intRating = value
            End Set
        End Property

        <XmlAttribute()> Public Property value() As Double
            Get
                Return dblValue
            End Get
            Set(ByVal value As Double)
                dblValue = value
            End Set
        End Property

    End Class

End Namespace